package com.code.hfd.template;

/**
 * @author xi.yang
 * @create 2019-12-23 22:40
 **/
public class BeverageTestDrive {
    public static void main(String[] args) {
        CoffeeWithHook coffeeWithHook = new CoffeeWithHook();
        TeaWithHook teaWithHook = new TeaWithHook();
        System.out.println("\n Making tea ...");
        teaWithHook.prepareRecipe();

        System.out.println("\n Making coffee ...");
        coffeeWithHook.prepareRecipe();
    }
}
